<template>
	<div class="tips">
		<van-empty image="error" description="404~页面不见啦 ! !" />
	</div>
	<div class="goHome">
		<van-button round type="success" class="goHomeBut" @click="gotoHome"
			>返回首页</van-button
		>
	</div>
</template>
<script setup>
import { useRouter } from "vue-router"

const router = useRouter()

const gotoHome = () => {
  router.push('/home')
}
</script>
<style scoped>
.tips {
	margin-top: 140px;
}
.goHome {
	width: 150px;
	height: 100px;
	margin-left: 145px;
}
</style>
